import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'login',
    component: ()=>import('../views/Login.vue')
  },
  {
    path: '/userManage',
    name: 'userManage',
    component: ()=>import('../views/UserManage.vue')
  },
  
]

const router = new VueRouter({
  routes
})

export default router
